// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.debugger.test;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("jvm-debugger/test")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/continuation")
public class ContinuationStackTraceTestGenerated extends AbstractContinuationStackTraceTest {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K1;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("suspendFun.kt")
    public void testSuspendFun() throws Exception {
        runTest("testData/continuation/suspendFun.kt");
    }

    @TestMetadata("suspendFun1.kt")
    public void testSuspendFun1() throws Exception {
        runTest("testData/continuation/suspendFun1.kt");
    }

    @TestMetadata("suspendFunStackTraceFolded.kt")
    public void testSuspendFunStackTraceFolded() throws Exception {
        runTest("testData/continuation/suspendFunStackTraceFolded.kt");
    }

    @TestMetadata("suspendFunStackTraceFoldedIDEA345945.kt")
    public void testSuspendFunStackTraceFoldedIDEA345945() throws Exception {
        runTest("testData/continuation/suspendFunStackTraceFoldedIDEA345945.kt");
    }

    @TestMetadata("suspendFunStackTraceHidden.kt")
    public void testSuspendFunStackTraceHidden() throws Exception {
        runTest("testData/continuation/suspendFunStackTraceHidden.kt");
    }

    @TestMetadata("suspendFunWithInner.kt")
    public void testSuspendFunWithInner() throws Exception {
        runTest("testData/continuation/suspendFunWithInner.kt");
    }

    @TestMetadata("suspendLambda.kt")
    public void testSuspendLambda() throws Exception {
        runTest("testData/continuation/suspendLambda.kt");
    }
}
